package edu.java.lectures.lec08.exceptions.basics.examples;

public class NullPointerExceptionTest {

    public static void main(String[] args) {
	Object obj = null;
	System.out.println(obj.toString());

	if (obj != null) {
	    System.out.println(obj.toString());
	}
    }
}
